<template>
	<view class="px-3">
		<i-loading v-if="loading" />
		<view class="mt-2 font40 line15">内容等待上传</view>
		<view class="bg-hover-light p-2 mt-2  rounded flex align-center justify-between flex-wrap font24">
			<view class="flex align-center">
				<uni-icons type="contact" size="16" color="#cccccc"></uni-icons>
				<text class="font24 text-muted">管理员</text>
			</view>
			<view class="flex align-center">
				<uni-icons type="eye" size="16" color="#cccccc"></uni-icons>
				<text class="font24 text-muted">200</text>
			</view>
			<view class="flex align-center">
				<uni-icons type="calendar" size="16" color="#cccccc"></uni-icons>
				<text class="font24 text-muted">2022-12-12</text>
			</view>
		</view>
		<view class="mt-2">
			<u-parse :content="content" @preview="preview" @navigate="navigate" ></u-parse>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				
				loading:true
			}
		},
		onLoad() {
			setTimeout(() => {
				this.loading = false
			}, 1000)
			uni.setNavigationBarTitle({
				title:"新闻标题"
			});
		},
		methods: {
			preview(src, e) {
				// do something
			},
			navigate(href, e) {
				// do something
			},
		},
	}
</script>

<style>

</style>